package lntu.chap03;

import java.util.Scanner;

public class ShapeTest {
    public static void main(String[] args) {
        Shape s1 = new Shape();
        Scanner sc = new Scanner(System.in);
        

        System.out.println("长方形面积为："+s1.getArea(3,4)+","+"长方形周长为："+s1.getPerimeter(3,4));
        System.out.println("正方形面积为："+s1.getArea(3)+","+"正方形周长为："+s1.getPerimeter(3));
    }
}
